package top.lshaci.learning.spring.security.oauth2.uaa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.lshaci.learning.spring.security.oauth2.uaa.entity.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lshaci
 * @since 2021-03-11
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<Permission> selectByUserId(@Param("userId") Long userId);
}
